<html>
<head><title>Typen von PHP</title></head>
<body>
<?php
  $n = null;
  $b = true; $b=False;
$x = 42; $y = 42.0;
$z = "Dies ist kein z";
$a["test"] = 1;
class A {}; $o = new A();
echo "Type von \$n: ", gettype($n), "<br />\n";
echo "Type von \$b: ", gettype($b), "<br />\n";
echo "Type von \$x: ", gettype($x), "<br />\n";
echo "Type von \$y: ", gettype($y), "<br />\n";
echo "Type von \$z: ", gettype($z), "<br />\n";
echo "Type von \$a: ", gettype($a), "<br />\n";
echo "Type von \$o: ", gettype($o), "<br />\n";
settype($x,"float");
echo "Type von \$x: ", gettype($x), "<br />\n";
$x = (double) $x;
echo "Type von \$x: ", gettype($x), "<br />\n";
?>
<input type="checkbox" name="bla" value="12">12<br>
<input type="checkbox" name="bla" value="17">17<br>
<input type="checkbox" name="bla" value="18">18<br>

</body>
</html>
